package com.luo.demo.sharding.jdbc.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.luo.demo.sharding.jdbc.model.dto.OrderInfoDto;
import com.luo.demo.sharding.jdbc.model.entity.Order;

/**
 * <p>
 * 订单信息 服务类
 * </p>
 *
 * @author luohq
 * @since 2021-10-22
 */
public interface IOrderService extends IService<Order> {


    /**
     * 新增订单
     */
    void addOrders();

    /**
     * 查询订单详情
     *
     * @param orderId
     * @return
     */
    OrderInfoDto getOrderDetail(Long orderId);
}
